package com.tskj.mh.badminton.service;

import com.alibaba.fastjson.JSONObject;
import com.tskj.mh.badminton.dao.StudentDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class StudentService {

    @Autowired
    private StudentDAO studentDAO;

    public JSONObject getStudentInfo(String adUserName) {
        return studentDAO.getStudentInfo(adUserName);
    }

    public String getSex(String adUserName) {
        return studentDAO.getSex(adUserName);
    }
}
